/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package br.ufpr.inf.escel.brain.model;

/**
 * Classe base de um dado de teste
 * 
 * @author gustavo
 * @since 0.2
 */
public abstract class DadoTeste {

    private Integer id;
    private Integer individuoId;
    private double fitness;
    private boolean sofreuModificacao;

    public abstract DadoTeste copy();

    public double getFitness() {
        return fitness;
    }

    public void setFitness(double score) {
        this.fitness = score;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getId() {
        return id;
    }

    public int getIndividuoId() {
        return individuoId;
    }

    public void setIndividuoId(Integer individuoId) {
        this.individuoId = individuoId;
    }

    @Override
    public abstract String toString();

    public boolean sofreuModificacao() {
        return sofreuModificacao;
    }

    public void setSofreuModificacao(boolean sofreuModificacao) {
        this.sofreuModificacao = sofreuModificacao;
    }
}
